package com.example.demo.exception;

public class ErrorMessages {
    public static String getMessage(ErrorCode errorCode) {
        return errorCode.getMessage() != null ? errorCode.getMessage() : "未知错误";
    }
}
